PDF4Java Reference Documentation
com.o2sol.pdf4java.core.collections Package / Collection<T> Class / set Method
Index of the element to replace
Element to be stored at the specified position
In This Topic
    set Method
    In This Topic
    Replaces an object at the specified index in the collection.
    Syntax
    public T set( 
       int index,
       T item
    )

    Parameters

    index
    Index of the element to replace
    item
    Element to be stored at the specified position

    Return Value

    The element previously at the specified position
    See Also